<!DOCTYPE HTML>
<html>
<head>
    <title>安装盘企PHP开发框架</title>
    <meta name="renderer" content="webkit" />
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <link rel="stylesheet" href="/public/static/layui/css/layui.css?20250109" />
    <link rel="stylesheet" href="/public/ui/admin/static/style.css?20250109" />
    <link rel="stylesheet" href="static/style.css?20250109" />
    <script type="text/javascript" src="/public/static/jquery.min.js?20250109"></script>
    <script type="text/javascript">
        var LCMS = {
            url: {
                public: window.location.origin + '/public/',
                static: window.location.origin + '/public/static/'
            },
            config: {
                ver: '20250109'
            },
            plugin: {
                upload: {}
            }
        };
    </script>
</head>
<body>
    <div class="layui-container">
        <div class="step-alert step-alert-red">特别声明：禁止将盘企产品用于含诈骗、赌博、色情、木马、病毒等违法违规业务，否则我们会将相关信息及时提交给有关部门处理！</div>
        <div class="step-box">
            <div class="step-tab step-active">步骤一<p>许可协议</p>
            </div>
            <div class="step-tab">步骤二<p>环境检测</p>
            </div>
            <div class="step-tab">步骤三<p>数据库配置</p>
            </div>
            <div class="step-tab">步骤四<p>安装完成</p>
            </div>
        </div>
        <div class="step-body">
            <div class="step-nr"></div>
            <div class="step-btn">我已阅读</div>
        </div>
        <div class="step-body">
            <div class="step-alert">环境必须满足所有要求才可进行下一步，推荐使用宝塔面板快速配置服务器环境。</div>
            <div class="step-nr">
                <h3>环境信息</h3>
                <table class="layui-table">
                    <thead>
                        <tr>
                            <th>项目</th>
                            <th>信息</th>
                        </tr>
                    </thead>
                    <tbody class="server-info"></tbody>
                </table>
                <h3>文件权限</h3>
                <table class="layui-table">
                    <thead>
                        <tr>
                            <th width="150px">目录名称</th>
                            <th>目录权限</th>
                        </tr>
                    </thead>
                    <tbody class="power-dirs">
                        <tr></tr>
                    </tbody>
                </table>
            </div>
            <div class="step-btn">下一步</div>
        </div>
        <div class="step-body">
            <div class="step-alert">请准确填写服务器上创建的数据库的连接信息。</div>
            <div class="step-nr">
                <form class="layui-form layui-form-pane" lay-filter="mysql-info">
                    <div class="layui-form-item">
                        <label class="layui-form-label">连接地址</label>
                        <div class="layui-input-block">
                            <input type="text" name="db[host]" placeholder="请输入数据库连接地址" class="layui-input" lay-verify="required" value="127.0.0.1" />
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">端口号</label>
                        <div class="layui-input-block">
                            <input type="text" name="db[port]" placeholder="请输入数据库端口号" class="layui-input" lay-verify="required" value="3306" />
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户名</label>
                        <div class="layui-input-block">
                            <input type="text" name="db[user]" placeholder="请输入数据库用户名" class="layui-input" lay-verify="required" value="" />
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">密码</label>
                        <div class="layui-input-block">
                            <input type="text" name="db[pass]" placeholder="请输入数据库密码" class="layui-input" lay-verify="required" value="" />
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">库名</label>
                        <div class="layui-input-block">
                            <input type="text" name="db[name]" placeholder="请输入数据库库名" class="layui-input" lay-verify="required" value="" />
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">表前缀</label>
                        <div class="layui-input-block">
                            <input type="text" name="db[pre]" placeholder="请输入数据库表前缀" class="layui-input" lay-verify="required" value="lcms_" />
                        </div>
                    </div>
                </form>
            </div>
            <div class="step-btn">下一步</div>
        </div>
        <div class="step-body">
            <div class="step-nr">
                <br /><br /><br /><br />
                <div style="text-align:center">
                    <i class="layui-icon layui-icon-ok-circle" style="font-size:100px;color:#67C23A;"> </i>
                    <h2>安装成功</h2>
                    <br />
                    <p>请务必保存好以下信息！</p>
                    <pre class="layui-code code-admin"></pre>
                </div>
                <br /><br /><br />
            </div>
        </div>
        <div class="copyright">
            ©2014-2025 运城市盘石网络科技有限公司 版权所有
        </div>
    </div>
    <script type="text/javascript" src="/public/static/layui/layui.js?20250109"></script>
    <script type="text/javascript" src="/public/ui/web/static/ljs.js?20250109"></script>
    <script type="text/javascript" src="static/fun.js?20250109"></script>
</body>
</html>